package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 member
 * 
 * @author ruoyi
 * @date 2025-05-04
 */
@Data
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String name;

    /** 0-未知，1-男，2-女 */
    @Excel(name = "0-未知，1-男，2-女")
    private Long sex;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 苹果id */
    @Excel(name = "苹果id")
    private String appleId;

    /** 最后登录ip */
    @Excel(name = "最后登录ip")
    private String ip;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String pic;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDate;


    private FileSystem picFile;

}
